
import 'dart:convert';

StudentNamesList studentNamesListFromJson(String str) =>
    StudentNamesList.fromJson(json.decode(str));

String studentNamesListToJson(StudentNamesList data) =>
    json.encode(data.toJson());

class StudentNamesList {
  StudentNamesList({
    this.studentsName,
  });

  List<String>? studentsName;

  factory StudentNamesList.fromJson(Map<String, dynamic> json) =>
      StudentNamesList(
        studentsName: json["studentsName"] != null
            ? List<String>.from(json["studentsName"].map((x) => x))
            : null,
      );

  Map<String, dynamic> toJson() => {
        "studentsName": studentsName != null
            ? List<dynamic>.from(studentsName!.map((x) => x))
            : null,
      };
}
